package com.guaoran.source.mybatis.v2.execute;

import com.guaoran.source.mybatis.v2.mapper.MapperRegistry;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @author : 孤傲然
 * @Description :
 * @date :2018/5/26 12:38
 */
public interface Executor {
    public <T> T query(MapperRegistry.KnownMappersInfo knownMappersInfo, Object paramment) throws InvocationTargetException, SQLException, IllegalAccessException, NoSuchMethodException;
    public <T> List<T> queryList(MapperRegistry.KnownMappersInfo knownMappersInfo, Object paramment) throws InvocationTargetException, SQLException, IllegalAccessException, NoSuchMethodException;
}

